package util;

import java.io.File;

public class UploadedImage {
	 
    private int length;
    private String name;
    private byte[] data;
    private File file;
    
    public UploadedImage() {}
 
    public int getLength() {
        return length;
    }
 
    public void setLength(int length) {
        this.length = length;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = Util.getCurrentTime() + "_" + name;
    }
 
    public byte[] getData() {
        return data;
    }
 
    public void setData(byte[] data) {
        this.data = data;
    }

	public File getFile() {
		return file;
	}

	public void setFile(File file) {
		this.file = file;
	}
    
    

 
}